//
//  CycleModel.swift
//  JFDouYu
//
//  Created by xujf on 2018/1/8.
//  Copyright © 2018年 XuJF. All rights reserved.
//

import UIKit

class CycleModel: NSObject {
    // 标题
    var title : String = ""
    // 展示的图片地址
    var pic_url : String = ""
    var anchor : AnchorModel?
    
    var room : [String : Any]? {
        didSet {
            guard let room = room else{return}
            anchor = AnchorModel(dict: room)
        }
    }
  
    //MARK: 自定义构造函数
    override init() {
        
    }
    init(dict : [String : NSObject]){
        super.init()
        setValuesForKeys(dict)
    }
    override func setValue(_ value: Any?, forUndefinedKey key: String) {
        
    }
    
}
